Membership for Growing Context Sensitive Grammars is Polynomial

نویسندگان

  • Elias Dahlhaus
  • Manfred K. Warmuth
چکیده

2. Introduction. Context-sensitive grammars (csgs) are one of the classical grammar families of formal language theory. They were introduced in [Ch59] and have been studied extensively since then (see []3073, Ha78] for an overview). Context-sensitive grammars are defined as rewriting systems, where the length of the right hand side of every production is at least as large as the length of the left hand side. This restriction on the productions is responsible for the fact that memberships for context-sensitive languages (csls) is equivalent to the problem of acceptance for nondeterministic linear bounded automaton [Ku64]. Therefore membership for csls is PSPACE complete [Ka72] and this is true even for certain fixed grammars. In this paper we show that if we restrict ourselves to "growing" productions, i.e. the right hand side of every production is strictly longer than the left hand side, then membership for fixed csls is polynomial. This may appear surprising in view of the results obtained in []3o78]. The growing csls are a subclass of LINEARcs as defined in [G164, Bo71]. Languages of LINEARcs are given by an arbitrary csg which has the property that every word w in the language has a derivation of length at most c I w 1 tt, for some overall constant c which only depends on the grammar. In [13078] it was shown that there are NP-complete languages in LINEARcs. Thus our result that the family of growing csls is in P deserves an explanation. Observe that in LINEARcs "complex derivations" are allowed using non-growing productions; then the final word may be padded such that the length of the overall derivation is

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Insertion into the Chomsky Hierarchy?

This review paper will report on some recent discoveries in the area of Formal Languages, chie y by F. Otto, G. Buntrock and G. Niemann. These discoveries have pointed out certain break-throughs connected with the concept of growing contextsensitive languages, which originated in the 1980's with a paper by E. Dahlhaus and M.K. Warmuth. One important result is that the deterministic growing cont...

متن کامل

On Growing Context-Sensitive Languages

Growing context-sensitive grammars (GCSG) are investigated. The variable membership problem for GCSG is shown to be NP-complete. This solves a problem posed in DW86]. It is also shown that the languages generated by GCSG form an abstract family of languages and several implications are presented.

متن کامل

Mildly Context-Sensitive Languages via Buffer Augmented Pregroup Grammars

A family of languages is called mildly context-sensitive if – it includes the family of all -free context-free languages; – it contains the languages • {anbncn : n ≥ 1} – multiple agreement, • {ambncmdn : m,n ≥ 1} – crossed dependencies, and • {ww : w ∈ Σ+} – reduplication; – all its languages are semi-linear; and – their membership problem is decidable in polynomial time. In our paper we intro...

متن کامل

Complexity of Uniform Membership of Context-Free Tree Grammars

We show that the uniform membership problem of context-free tree grammars is PSPACE-complete. The proof of the upper bound is by construction of an equivalent pushdown tree automaton representable in polynomial space. With this technique, we can also give an alternative proof that the respective nonuniform membership problem is in NP. A corollary for uniform membership of "-free indexed grammar...

متن کامل

A Polynomial Algorithm for the Membership Problem with Categorial Grammars

This article presents an overview of a framework called categorial grammars from a theoretical and algorithmic perspective. It provides an introduction to the formalisms of these grammars and of the tools they use (the Lambek Calculus) for theoretical computer scientists who are not familiar with them. We give a clear presentation of the main classical and recent results on these grammars, espe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Comput. Syst. Sci.

دوره 33  شماره 

صفحات  -

تاریخ انتشار 1986